# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=sailfish-access-control
pkgver=0.0.5
pkgrel=1
pkgdesc="A thin wrapper library on top of the getuid, getpwuid, getgrouplist, and friends"
url="https://github.com/sailfishos/sailfish-access-control"
arch="all"
license="LGPL-2.1-or-later"
makedepends="qt5-qtbase-dev"
source="https://github.com/sailfishos/sailfish-access-control/archive/$pkgver/sailfish-access-control-$pkgver.tar.gz"
options="!check" # No test suite available

build() {
	make -C glib
}

package() {
	ROOT="$pkgdir" make -C glib install
}

sha512sums="
6f92e66497d5c20428d2e2d4906f7b88084708e8564bbbf01e602b047540efd2ff1a96953870f50254e73e23bd33038cdb922f6e95b561e9f363f804e98d9110  sailfish-access-control-0.0.5.tar.gz
"
